Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ENABLE_TESTING_SEARCH_PATHS to YES #803

Merged
merged 1 commit into from
Sep 4, 2020
Merged

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented Jul 28, 2020

Sould fix #801.


See https://xcodebuildsettings.com/#enable_testing_search_paths and https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4-release-notes:

Xcode introduced an “Enable Testing Search Paths” build setting to improve support for test support frameworks and libraries. This build setting is on by default for test bundle targets, as well as for targets which explicitly include XCTest.framework in their “Link Binary With Libraries” list. Source files in such targets can now import XCTest without setting any custom search paths. (51117167)

@ikesyo

This comment has been minimized.

@ikesyo ikesyo force-pushed the enable_testing_search_paths branch from 999eada to 8cbf1ee Compare July 28, 2020 15:06
See https://xcodebuildsettings.com/#enable_testing_search_paths and https://developer.apple.com/documentation/xcode-release-notes/xcode-11_4-release-notes:

> Xcode introduced an “Enable Testing Search Paths” build setting to improve support for test support frameworks and libraries. This build setting is on by default for test bundle targets, as well as for targets which explicitly include XCTest.framework in their “Link Binary With Libraries” list. Source files in such targets can now import XCTest without setting any custom search paths. (51117167)
@ikesyo ikesyo force-pushed the enable_testing_search_paths branch from 8cbf1ee to fa46d7a Compare September 4, 2020 00:19
@ikesyo ikesyo merged commit a24d6c8 into master Sep 4, 2020
@ikesyo ikesyo deleted the enable_testing_search_paths branch September 4, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Building test suite fails on Xcode 12 due to not finding XCTest.h header
1 participant